#define _CRT_SECURE_NO_WARNINGS 1

#include <stdio.h>
int main()
{
	int num[10] = {1,2,3,4,5,6,7,8,9,10};

	int n = 0;
	while (scanf("%d", &n) != EOF)
	{
		char c = getchar();
		if (c != '\n')
		{
			printf("%d,", num[n]);
		}
		else
			printf("%d", num[n]);
	}
	return 0;
}